<tt xmlns="http://www.w3.org/ns/ttml" xmlns:tts="http://www.w3.org/ns/ttml#styling" xmlns:itts="http://www.w3.org/ns/ttml/profile/imsc1#styling" xml:lang="en"> <head> <styling> <style xml:id="defaultStyle" tts:fontSize="125%" tts:lineHeight="120%"/> <style xml:id="spanStyle" tts:backgroundColor="black" tts:color="white"/> <style xml:id="fillGap" itts:fillLineGap="true"/> </styling> <layout> <region xml:id="top" tts:origin="5% 5%" tts:extent="90% 40%" tts:textAlign="center" tts:displayAlign="before"/> <region xml:id="bottom" tts:origin="5% 55%" tts:extent="90% 40%" tts:textAlign="center" tts:displayAlign="after"/> </layout> </head> <body style="defaultStyle"> <div> <p region="top"> <span style="spanStyle">Without itts:fillLineGap<br/>Gaps between lines appear.</span> </p> <p region="bottom" style="fillGap"> <span style="spanStyle">With itts:fillLineGap<br/>Gaps between lines are "filled".<br/></span> </p> </div> </body> </tt>